package 面向对象初级.类和对象;

import java.io.*;
import java.nio.file.FileAlreadyExistsException;
import java.util.Scanner;

public class Animal {
    //属性
    public int age;
    //方法
    public void eat(){
        System.out.println("Eating");
    }

    public static void main(String[] args) throws FileAlreadyExistsException, FileNotFoundException {
        Scanner scanner = new Scanner(System.in);
        InputStream inputStream =new FileInputStream("d:/e.txt");
    }
}
